Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add release and test-release workflow #61

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

PCain02
Copy link
Collaborator

@PCain02 PCain02 commented Nov 21, 2024

Pull Request Feat: add release and test-release workflow

1. Make sure the title is descriptive of what the PR includes. Don't mention issue names/numbers; save that for the description.
Feat: add release and test-release workflow

2. List the names of those who contributed to the project.
@PCain02

3. Link the issue the pull request is meant to fix/resolve.
#57

4. Add all labels that apply. (e.g., documentation, ready-for-review)
bug , feature, and infrastructure

5. Describe the contents and goal of the pull request.
This pull requests add the automatic release feature which happens at the same time a published version is made to PyPI.
The commands to test this is the same as the test-publishing feature. You will know if it is successful if there is a release in the releases section of the GitHub page that corresponds to what you just released. There is a test_release.yml workflow that runs when there is a t tag used and a release.yml workflow that runs when a v tag is used.

image

Replace the t0.0.0 with the next number in the sequence to test.
poetry version 0.3.1
git add pyproject.toml
git commit -m "Chore: Bump version to 0.3.1"
git tag t0.3.1
git push origin t0.3.1

6. Will coverage be maintained/increased?
Coverage is not impacted

7. What operating systems has this been tested on? How were these tests conducted?
Windows. This is a GitHub workflow however so it is ran on GitHub

8. Include a code block and/or screenshots displaying the functionality of your feature, if applicable/possible.

image

image

@PCain02 PCain02 added bug Something isn't working enhancement New feature or request infrastructure CI/CD configuration labels Nov 21, 2024
@PCain02 PCain02 self-assigned this Nov 21, 2024
@PCain02 PCain02 marked this pull request as ready for review November 21, 2024 22:12
Copy link
Collaborator

@boulais01 boulais01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@rebekahrudd rebekahrudd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me and works on Linux!

Updating the tag in the terminal:
Screenshot from 2024-11-22 22-43-14

Result that it updated in Pypi:
image

Also for others checking this PR here is the link to the PyPI page to see if the automated testing is working correctly: https://test.pypi.org/project/execexam/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request infrastructure CI/CD configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants